package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * pest_detection_msg 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
@TableName("pest_detection_msg")
public class PestDetectionMsg implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_id", description = "果园id")
    private Integer orchardId;

    /**
     * 病虫害类型
     */
    @Schema(name = "pest_detection_type", description = "病虫害类型")
    private String pestDetectionType;

    /**
     * 严重程度
     */
    @Schema(name = "extent", description = "严重程度")
    private String extent;

    /**
     * 解决方法
     */
    @Schema(name = "resolution", description = "解决方法")
    private String resolution;

    /**
     * 图片
     */
    @Schema(name = "static/image", description = "图片")
    private String image;

    /**
     * 记录日期
     */
    @Schema(name = "data_date", description = "记录日期")
    private LocalDateTime dataDate;


}
